<template>
  <div id="nav">
    <h1>PPT課程網站</h1>
    <div>
    <router-link to="/">今日主題</router-link> |
    <router-link to="/about">素材資源</router-link>|
    <router-link to="/stu">學生作品</router-link>|
    <router-link to="/rew">獎勵中心</router-link>|
    <router-link to="/posta">小纸条</router-link>|
    <router-link to="/record">課堂記錄</router-link>
    <router-link to="/time">时钟</router-link>
    </div>
  </div>
  <router-view/>
</template>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}

#nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
  background-color: #42b983;
  padding: 30px;
}

#nav a {
  /* display:block; */
  margin: 0 2em;
  font-weight: bold;
  color: #2c3e50;
}

#nav a.router-link-exact-active {
  color: #f3f5f4;
}
</style>
